<i-form :model="this.data" class='app-form' ref='form'  id='product_supplierinfo_ef_basic' style="" @on-validate="formItemValidate.apply(_self, arguments)">
    <input style="display:none;" />
    <row >
            <i-col class="form-layout-container" v-show="detailsModel.grouppanel1.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.grouppanel1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.product_supplierinfo.ef_basic_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.grouppanel1" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.name_text.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='name_text' :itemRules="this.rules().name_text" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.name_text')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.name_text.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.name_text.disabled"
    name='name_text'
    deMajorField='name'
    deKeyField='res_supplier'
    :service="service"
    :acParams="{ serviceName: 'Res_supplierService', interfaceName: 'FetchDefault'}"
    valueitem='name' 
    :value="data.name_text"
    :pickupView="{ viewname: 'res-supplier-pickup-view', title: $t('entities.res_supplier.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'res_suppliers', parameterName: 'res_supplier' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.product_code.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='product_code' :itemRules="this.rules().product_code" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.product_code')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.product_code.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.product_code"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.product_code.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.product_name.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='product_name' :itemRules="this.rules().product_name" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.product_name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.product_name.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.product_name"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.product_name.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.product_id_text.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='product_id_text' :itemRules="this.rules().product_id_text" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.product_id_text')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.product_id_text.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.product_id_text.disabled"
    name='product_id_text'
    deMajorField='name'
    deKeyField='product_product'
    :service="service"
    :acParams="{ serviceName: 'Product_productService', interfaceName: 'FetchDefault'}"
    valueitem='product_id' 
    :value="data.product_id_text"
    :pickupView="{ viewname: 'product-product-pickup-view', title: $t('entities.product_product.views.pickupview.title'), deResParameters: [{ pathName: 'product_templates', parameterName: 'product_template' }, ], parameters: [{ pathName: 'product_products', parameterName: 'product_product' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.delay.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='delay' :itemRules="this.rules().delay" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.delay')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.delay.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.delay"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.delay.disabled" 
    type='number' 
    style="">
</input-box>

</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.grouppanel2.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.grouppanel2" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.product_supplierinfo.ef_basic_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.grouppanel2" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.product_tmpl_id_text.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='product_tmpl_id_text' :itemRules="this.rules().product_tmpl_id_text" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.product_tmpl_id_text')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.product_tmpl_id_text.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.product_tmpl_id_text.disabled"
    name='product_tmpl_id_text'
    deMajorField='name'
    deKeyField='product_template'
    :service="service"
    :acParams="{ serviceName: 'Product_templateService', interfaceName: 'FetchDefault'}"
    valueitem='product_tmpl_id' 
    :value="data.product_tmpl_id_text"
    :pickupView="{ viewname: 'product-template-pickup-view', title: $t('entities.product_template.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'product_templates', parameterName: 'product_template' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.min_qty.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='min_qty' :itemRules="this.rules().min_qty" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.min_qty')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.min_qty.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.min_qty"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.min_qty.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.price.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='price' :itemRules="this.rules().price" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.price')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.price.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.price"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.price.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.date_start.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='date_start' :itemRules="this.rules().date_start" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.date_start')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.date_start.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :value="data.date_start" :disabled="detailsModel.date_start.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.date_start = val1 }"></date-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.date_end.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
    <app-form-item name='date_end' :itemRules="this.rules().date_end" class='' :caption="$t('entities.product_supplierinfo.ef_basic_form.details.date_end')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.date_end.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :value="data.date_end" :disabled="detailsModel.date_end.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.date_end = val1 }"></date-picker>

</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


    </row>
</i-form>
